/*
 * @Description:
 * @Author: liyuhao
 * @Date: 2021-11-22 14:27:16
 * @LastEditors: liyuhao
 * @LastEditTime: 2021-12-23 14:20:49
 */
import CreateEnumMap from '@/utils/CreateEnumMap'
import {VideoStatusEnum, VideoTypeEnum} from './enum'

export const VideoTypeMap = CreateEnumMap([
    {
        id: VideoTypeEnum.Scenic,
        name: '景区'
    },
    {
        id: VideoTypeEnum.Hotel,
        name: '酒店'
    },
    {
        id: VideoTypeEnum.Cultural,
        name: '文化馆'
    },
    {
        id: VideoTypeEnum.Museum,
        name: '博物馆'
    },
    {
        id: VideoTypeEnum.Library,
        name: '图书馆'
    }
])

export const VideoStatusMap = CreateEnumMap([
    {
        id: VideoStatusEnum.Abnormal,
        name: '异常',
        color: '#f5222d'
    },
    {
        id: VideoStatusEnum.Normal,
        name: '正常',
        color: '#a0d911'
    }
])

export const BrandMap = [
    {
        label: '公安',
        value: 'POLICE'
    },
    {
        label: '海康',
        value: 'haikang'
    },
    {
        label: '海康8700动态RTSP',
        value: 'hkdtrtsp'
    },
    {
        label: '海康动态hls',
        value: 'hkdtrtsphls'
    },
    {
        label: '海康动态wss',
        value: 'hkdtwss'
    },
    {
        label: '大华',
        value: 'dahua'
    },
    {
        label: '大华卡口',
        value: 'dahua_kakou'
    },
    {
        label: '宇视',
        value: 'yushi'
    },
    {
        label: '天地伟业',
        value: 'tdwy'
    },
    {
        label: '烽火众智',
        value: 'fenghuo'
    },
    {
        label: 'DSS',
        value: 'dhdss'
    },
    {
        label: 'rtsp直播流',
        value: 'rtsp'
    },
    {
        label: '中维世纪',
        value: 'zwsj'
    },
    {
        label: '景阳',
        value: 'jy'
    },
    {
        label: '中电兴发',
        value: 'zdxf'
    },
    {
        label: '九鼎',
        value: 'jiuding'
    },
    {
        label: 'rtmp直播流',
        value: 'rtmp'
    },
    {
        label: '浙江移动千里眼',
        value: 'ydqly'
    },
    {
        label: '东方网力',
        value: 'dfwl'
    },
    {
        label: '海康7600',
        value: 'hk7600'
    },
    {
        label: '海康iVMS-8800',
        value: 'hk8800'
    },
    {
        label: '奥尼克斯',
        value: 'anks'
    },
    {
        label: '汉邦高科',
        value: 'hbgk'
    },
    {
        label: '韩国KUMKANG',
        value: 'kumkang'
    },
    {
        label: '平谷sdk',
        value: 'pgsdk'
    },
    {
        label: '金三立(网视新)',
        value: 'wsx'
    },
    {
        label: 'gb28181',
        value: 'gb28181'
    },
    {
        label: 'http-flv',
        value: 'httpFlv'
    }
]
